﻿using Sustainalytics.ClientDW.Entities;

namespace Sustainalytics.GCCS.Service
{
    public class GCCompanyProfileDto : GCCompanyProfileBasicDto
    {
        public string Country { get; set; }
        public string Industry { get; set; }
        public string MainExchange { get; set; }
        public string MainIsin { get; set; }
        public string MainSedol { get; set; }
        public string MainTicker { get; set; }


        public virtual GCCompanyProfileDto LoadFrom(GCCompanyProfile data)
        {
            base.LoadFrom(data);

            this.Country = data.Country;
            this.Industry = data.Industry;
            this.MainExchange = data.MainExchange;
            this.MainIsin = data.MainIsin;
            this.MainSedol = data.MainSedol;
            this.MainTicker = data.MainTicker;

            return this;
        }
    }
}
